#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

int foo(char *argv[])
{
  char buf[128];
  memcpy(buf, argv[1], strlen(argv[1]));
}

int main(int argc, char *argv[])
{
  if (argc != 2)
    {
      fprintf(stderr, "target3: argc != 2\n");
      exit(EXIT_FAILURE);
    }

  long int randomize = (time(NULL) % 86400) * 10 / 6;  
  char buf[randomize];

  foo(argv);

  return 0;
}

